tests: Add some bitmasks to the hardcoded list
authorBenjamin Otte <otte@redhat.com>
Sat, 10 Nov 2012 17:53:34 +0000 (18:53 +0100)
committerBenjamin Otte <otte@redhat.com>
Sat, 10 Nov 2012 17:53:34 +0000 (18:53 +0100)
The bitmasks with the 31st, 32nd and 63rd bit set are added. The make up
the largest bitmasks on 32bit/64bit that can be represented without
allocating and the smallest bitmask on 32bit that must be allocated.

gtk/tests/bitmask.c

index 5637d7e870195917c528020a8b5f97afd74162e2..1d4eaa51213dc6fd9d67aa71b44e6ebe294c545b 100644 (file)
@@ -74,6 +74,9 @@ gtk_bitmask_new_parse (const char *string)
 static const char *tests[] = {
                                                                                                                                    "0",
                                                                                                                                    "1",
+                                                                                                     "1000000000000000000000000000000",
+                                                                                                    "10000000000000000000000000000000",
+                                                                     "100000000000000000000000000000000000000000000000000000000000000",
                                                                     "1000000000000000000000000000000000000000000000000000000000000000",
                                                                    "10000000000000000000000000000000000000000000000000000000000000000",
   "1010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",